package com.tttshaoqi.server.mapper;

import com.tttshaoqi.pojo.entity.PostTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PostTagMapper {
    int insert(PostTag pt);
    int deleteByPostId(@Param("postId") Long postId);
    List<PostTag> findByPostId(@Param("postId") Long postId);
}


